package spec.zhangyuehua.$04.ball_;

/**
 * Created by yue on 2017/10/24.
 */
public class BasketBall extends Ball {
    String ydy;
    String cp;
    String zb;
    public String play(String ydy,String cp){
        String a=super.play();
        return a+"比赛运动员"+ydy+"裁判"+cp;
    }
    public String play(String ydy){
        String b=super .play();
        return b+"比赛运动员"+ydy;
    }
    public BasketBall(String zj, String cz, String weight){
        super.zj=zj;
        super.cz=cz;
        super.weight=weight;
    }
    public  BasketBall(String zj, String cz, String weight,String zb){
        super();
        this.zb=zb;
    }
}
